﻿using System;

namespace Central.Linq.MvcJson.Engine {

	/// <summary>
	/// Посредник между FilterDefinition и UI
	/// </summary>
	public class FilterParam {

		public FilterParam() {
			this.DisplayName = "Не задано";
			this.Id = Guid.NewGuid();
		}

		public String Name { get; set; }

		public String DisplayName { get; set; }

		public FilterOperator Operator { get; set; }

		public Object Value { get; set; }

		public Guid Id { get; set; }
	}
}